package com.icas.exception;

/**
 *
 * 查询失败异常：
 * 在项目中,防止空指针异常发送,通过判断查询结果是否为null 来确定是否抛出异常
 *
 * @author tocchen
 * @date 2022/6/19 12:25
 * @since jdk 1.8
 **/
public class QueryNotFoundException extends RuntimeException {

    static final long serialVersionUID = 192108095211L;

    public QueryNotFoundException() {
        this("查询失败异常");
    }

    public QueryNotFoundException(String message) {
        super(message);
    }
}
